package com.alog.storage;

public class Contants {
    /* 调试环境*/
    public static final String BASE_URL = "http://10.12.2.37:88";
    public static final String HTTPS_BASE_URL = "https://10.12.2.37:444";

    /* 正式环境*/
//    public static final String BASE_URL = "http://10.12.2.37:88";
//    public static final String HTTPS_BASE_URL = "https://10.12.2.37:444";

    public static final String DB_NAME = "rf";
    public static final int DB_VERSION = 1;

    public static final String SESSION_TOKEN = "SessionToken";
    public static final String SECURE_KEY = "SecureKey";

    public static int DISK_CACHE_SIZE = 200 * 1024 * 1024;
    public static int MEMORY_CACHE_SIZE = 10 * 1024 * 1024;

    /**
     * api接口唯一标识
     **/
    public static final int API_ID_LOGIN = 1;
    public static final int API_ID_GET_USERDETAIL = 10;

    public static final int API_ID_PAY_ALIPAY = 500;
    public static final int API_ID_PAY_WX = 501;
    public static final int API_ID_PAY_UNIONPAY = 502;

    /**
     * Activity跳转及返回码
     **/
    public static final int ACTIVITY_CODE_NET_SETTING = 1000;
    public static final int ACTIVITY_CODE_LOGIN = 1001;

    /**
     * 服务器返回码
     **/
    public static final int SERVER_CODE_LOGIN_TIMEOUT = -999;

}
